/**
 * Dear programmer:
 * When I wrote this code, only god and I knew how it worked.
 * Now, only god knows it!
 *
 * @author: Pegasus  Date: 2018/11/24 Time: 14:01
 */

import {StyleSheet} from 'react-native';
import {
    COLOR_GRAY_BACKGROUND,
    COLOR_GRAY_LINE, COLOR_THEME,COLOR_FOCUS,
    COLOR_WHITE,
    FONT_COLOR_SUB_TITLE,
    FONT_COLOR_TITLE, FONT_SIZE_14,
    FONT_SIZE_SUB_TITLE,
    FONT_SIZE_TITLE
} from "../../../constant/PHColors"
import {SCREEN_HEIGHT, SCREEN_WIDTH} from "../../../constant/PHScreen";

export const styles = StyleSheet.create({

    body: {
        flex: 1,
    },

    container: {
        flex: 1,
        // width:SCREEN_WIDTH,
        backgroundColor: '#ffffff',
    },

    scrollView: {
        flex: 1,
        backgroundColor: '#ffffff',
    },

    itemHeaderLeft: {
        flex: 1,
        flexDirection: 'row',
        justifyContent: 'flex-start',
        alignItems: 'center',
    },

    itemHeaderLeftText:{
        fontSize: 18,
        color: FONT_COLOR_SUB_TITLE
    },

    itemHeaderRight: {
        flex: 1,
        flexDirection: 'row',
        justifyContent: 'flex-end',
        alignItems: 'center',
    },

    itemHeaderRightBox:{
        flexDirection: 'row',
        justifyContent: 'center',
        alignItems: 'center',
        height:35,
        paddingRight:20,
        paddingLeft:20,
        borderLeftWidth: 1,
        borderColor:'#c8c8c8',
    },

    itemHeaderRightText:{
        fontSize: 16,
        color: FONT_COLOR_TITLE
    },

    itemLine:{
        flex:1,
        height:50,
        borderTopWidth: 1,
        borderColor:'#e8e8e8',
    },

    textBox: {
        flex: 1,
        flexDirection: 'row'
    },

    leftBox: {
        flex: 1,
        justifyContent: 'flex-start',
        alignItems: 'center',
        flexDirection:'row'
    },

    text: {
        fontSize: 17,
        color: FONT_COLOR_TITLE,
        marginLeft: 15
    },

    rightBox: {
        width: 50,
        justifyContent: 'center',
        alignItems: 'center',
        marginRight: 20,
    },

    numText: {
        fontSize: 18,
        color: COLOR_FOCUS
    },

    modalContainer: {
        flex: 1,
        backgroundColor: 'rgba(0, 0, 0, 0.3)',
    },

    modalBox:{
        alignItems:'center',
        backgroundColor:'white',
        marginTop: SCREEN_HEIGHT/2 - 100,
        marginLeft: SCREEN_WIDTH/18,
        marginRight: SCREEN_WIDTH/18,
        width: SCREEN_WIDTH*16/18,
        borderRadius:3,
    },

    modalTitle:{
        borderBottomColor:'#4C70FF',
        borderBottomWidth:2,
        height:50,
        width:SCREEN_WIDTH*16/18,
        alignItems:'center',
        justifyContent:'center',
    },

    modalTitleTextNum:{
        fontSize:18,
        color:'#4C70FF',
    },

    modalCenter:{
        alignItems:'center',
        justifyContent:'center',
        flexDirection:'row',
        paddingTop:30,
        paddingBottom:30,
    },

    modalInput:{
        backgroundColor:'transparent',
        fontSize:15,
        paddingTop: 0,
        paddingBottom: 0,
        paddingLeft: 5,
        marginLeft:15,
        marginRight:15,
        width:100,
        height:30,
        borderWidth: 1,
        borderColor:"#aaaaaa"
    },

    modalBottom:{
        alignItems:'center',
        justifyContent:'center',
        flexDirection:'row',
        marginBottom:2,
    },

    modalBottomLeft:{
        marginLeft:2,
        width:((SCREEN_WIDTH*16/18)-6)/2,
        backgroundColor:'#cdcdcd',
        height:45,
        borderRadius: 2,
        alignItems:'center',
        justifyContent: 'center',
    },

    modalBottomLeftText: {
        fontSize: 20,
        color: '#6e6e6e',
        marginBottom: 1,
        textAlign:'center',
    },

    modalBottomRight:{
        marginLeft:2,
        width:((SCREEN_WIDTH*16/18)-6)/2,
        backgroundColor:'#2f67ff',
        height:45,
        borderRadius: 2,
        alignItems:'center',
        justifyContent: 'center',
    },

    modalBottomRightText: {
        fontSize: 20,
        color: '#ffffff',
        marginBottom: 1,
        textAlign:'center',
    },

})